<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-cache/no-store" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5shiv.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" />
<style>
   .input-text{ 
    width:140px; 
   } 
</style>
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>返修报工</title>
</head>
<body>
        <!--主内容-->
		<div class="page-container col-md-8">
		   <table class="table table-border  table-bg table-hover">
		      <tr>
		        <td colspan="2">工序申报</td>
		        <td colspan="4"><span id="userName">${param.userName}</span></td>
		      </tr>
		      <tr>
		        <td colspan="2">订单编号</td>
		        <td colspan="4"><input type="text" class="input-text" id="orderId"/>
<!--                   <button id="scanQRCode" class="btn">扫一扫</button> -->
                  </td>
		      </tr>
		      <tr>
		        <td colspan="2">车间名称</td>
		        <td colspan="4"><select  id="workshopName"  class="input-text"></select></td>
		      </tr>
		      <tr>
		        <td colspan="2">工序名称</td>
		        <td colspan="4"><select  id="workingProcedureName" class="input-text"></select></td>
		      </tr>
		       <tr>
		        <td colspan="2">申报人</td>
		        <td colspan="4"><select id="reportPerson"  class="input-text">
		           <option value=''>请选择</option>
		        </select></td>
		      </tr>
		      <tr class="inWorkShop" hidden=hidden>
		        <td colspan="2">接收车间</td>
		        <td colspan="4"><select id="inWorkShop"  class="input-text"></select></td>
		      </tr>
<!-- 		      <tr> -->
<!-- 		        <td colspan="2">返修来源</td> -->
<!-- 		        <td colspan="4">数控   打弯</td> -->
<!-- 		      </tr> -->
		      <tr>
		        <td colspan="2">设备信息</td>
		        <td colspan="4"><button class="btn" id="deviceDivShow">填写设备信息</button></td>
			  </tr>
<!-- 		      <div id="deviceDiv" hidden="hidden"> -->
			      <tr class="deviceDiv">
			        <td colspan="2">厂家</td>
			        <td colspan="4"><select  id="factoryName" class="input-text"></select> &nbsp;&nbsp;&nbsp; <span class="btn" id="addFactoryBtn">+</span></td>
			      </tr>
			      <tr id="factoryNameTr" hidden="hidden">
			        <td colspan="2"></td><td colspan="4"><input type="text" class="input-text" placeholder="工厂名称" id="addFactoryName"/>&nbsp;&nbsp;&nbsp;
			        <button class="btn btn-primary radius" id="addFactoryNameBtn">添加</button></td>
			      </tr>
			      <tr class="deviceDiv">
			        <td colspan="2">设备编号</td>
			        <td colspan="4"><select  id="deviceId" class="input-text"></select> &nbsp;&nbsp;&nbsp; <span class="btn" id="addDeviceIdBtn">+</span></td>
			      </tr>
			      <tr id="deviceIdTr" hidden="hidden">
			        <td colspan="2"></td colspan="4"><td><input type="text" class="input-text" placeholder="设备编号" id="addDeviceId"/>&nbsp;&nbsp;&nbsp;
			        <button class="btn btn-primary radius" id="addDeviceBtn">添加</button></td>
			      </tr>
			      <tr class="deviceDiv">
			        <td colspan="2">设备名称</td>
			        <td colspan="4"><select  id="deviceName" class="input-text"></select> &nbsp;&nbsp;&nbsp; <span class="btn" id="addDeviceNameBtn">+</span></td>
			      </tr>
			      <tr id="deviceNameTr" hidden="hidden">
			        <td colspan="2"></td colspan="4"><td><input type="text" class="input-text" placeholder="设备名称" id="addDeviceName"/>&nbsp;&nbsp;&nbsp;
			        <button class="btn btn-primary radius" id="addDeviceNBtn">添加</button></td>
			      </tr>
<!-- 		      </div> -->
		      <tr>
		        <td colspan="2">加工对象</td>
		        <td colspan="4"><select name="" id="machining" class="input-text">
			      <option value="">请选择</option>
			      <option value="框">框</option>
			      <option value="腿">腿</option>
			      <option value="金属框">金属框</option>
			      <option value="金属腿">金属腿</option>
<!-- 			      <option value="整架">整架</option> -->
			      </select></td>
		      </tr>
<!-- 		      <tbody id="color"> -->
<!-- 		      </tbody> -->
		      <tr>
		        <td colspan="2">颜色</td>
		        <td colspan="4"><select  id="color" class="input-text"></select>&nbsp;&nbsp;&nbsp; <span id="felldCouont" style="color:blue;"></span></td>
		      </tr>
		      <tr>
		        <td colspan="2"> 申报数量</td>
		        <td colspan="4"></td>
		      </tr>
		      <tr>
		        <td colspan="2">合格数</td>
		        <td colspan="4"><input type="text" class="input-text" id="qualified"/></td>
		      </tr>
		      <tr>
		        <td colspan="2">不合格数</td>
		        <td colspan="4"><input type="text" class="input-text" id="noQualified" value="0"/></td>
		      </tr>
		      <tr>
		        <td colspan="2">不合格原因</td>
		        <td colspan="4"><input type="text" class="input-text" id="noQualifiedReason"/></td>
		      </tr>
		      <tr id="noReason">
		          
		      </tr>
		      <tr>
		        <td colspan="2"></td>
		        <td colspan="4"><button class="btn btn-primary radius" id="reportBtn">报工</button></td>
<!-- 		        <td><button class="btn btn-primary radius" id="returnBtn">返修报工</button></td> -->
		      </tr>
		   </table>
		     </div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="https://upload.shinehao.com.cn/20180810145355jquery.min1.9.1.js"></script> 
<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="https://upload.shinehao.com.cn/20180810150731H-ui.min3.0.2.js"></script> 
<script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script>
<script type="text/javascript" src="https://upload.shinehao.com.cn/20180813175723jquery.dataTables1.10.0.js"></script> 
<script type="text/javascript" src="lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript" src="myJs/util.js"></script>
<!--/_footer 作为公共模版分离出去 -->

<!--请在下方写此页面业务相关的脚本 -->
<script type="text/javascript" src="myJs/returnWorkReport.js"></script>
<!-- <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> -->

</body>
</html>